Skip to content

Conversation

@jamieQ
Copy link
Contributor

@jamieQ jamieQ commented Nov 11, 2025

The method originally special-cased logic that would provide a meaningful speedup and simplification, but if I've followed the history correctly, this has no longer been the case for many years, so we might as well remove it to make the code slightly more straightforward.


History:

  • non-tuple special-case logic originally introduced in ec0e1e6. this used a special isLiveOut1 method.
  • special handling of the '*LiveOut1' case (renamed to getLiveOut1 etc in c3907b3) removed when exponential complexity was fixed in 12b43dd.

The method originally special-cased logic that would provide a
meaningful speedup and simplification, but IIUC the history, this has no
longer been the case for many years, so we might as well remove it to
make the code more straightforward.
@jamieQ
Copy link
Contributor Author

jamieQ commented Nov 11, 2025

@swift-ci please test

@jamieQ jamieQ marked this pull request as ready for review November 11, 2025 14:28
@jamieQ jamieQ requested a review from eeckstein as a code owner November 11, 2025 14:28
Copy link
Contributor

@eeckstein eeckstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@jamieQ
Copy link
Contributor Author

jamieQ commented Nov 11, 2025

thanks for reviewing @eeckstein – please merge when you get a chance!

@jamieQ
Copy link
Contributor Author

jamieQ commented Nov 19, 2025

@eeckstein ping to merge this when you can please

@eeckstein eeckstein merged commit 7ce79f2 into swiftlang:main Nov 20, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants